package cn.edu.zjgsu.ito.dao;

import cn.edu.zjgsu.ito.model.CourierOrder;
import cn.edu.zjgsu.ito.model.CourierOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CourierOrderMapper {
    int countByExample(CourierOrderExample example);

    int deleteByExample(CourierOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CourierOrder record);

    int insertSelective(CourierOrder record);

    List<CourierOrder> selectByExample(CourierOrderExample example);

    CourierOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CourierOrder record, @Param("example") CourierOrderExample example);

    int updateByExample(@Param("record") CourierOrder record, @Param("example") CourierOrderExample example);

    int updateByPrimaryKeySelective(CourierOrder record);

    int updateByPrimaryKey(CourierOrder record);
}